Skip to content

fix: abstract out cpio operations to helper function#1356

Merged
stevebeattie merged 2 commits into
chainguard-dev:mainfrom
stevebeattie:fix-rpm-close
Feb 5, 2026
Merged

fix: abstract out cpio operations to helper function#1356
stevebeattie merged 2 commits into
chainguard-dev:mainfrom
stevebeattie:fix-rpm-close

Conversation

@stevebeattie

Copy link
Copy Markdown
Member

This lets us defer the close operation to the end of the helper function and not try to do the closes in all the early exit operations of the loop.

This lets us defer the close operation to the end of the helper function
and not try to do the closes in all the early exit operations of the
loop.

v2: drop cyclometric complexity lint silencing comment

Signed-off-by: Steve Beattie <steve.beattie@chainguard.dev>
@stevebeattie stevebeattie enabled auto-merge (squash) February 5, 2026 02:57
@stevebeattie stevebeattie requested a review from egibs February 5, 2026 02:57
@stevebeattie stevebeattie merged commit 303b44a into chainguard-dev:main Feb 5, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants